package com.itheima.springboot_08_ssmp3.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//如果你不想写get set方法,可以用lombok
//@Getter
//@Setter
@Data //是Getter+Setter 还有toString,equals,
@NoArgsConstructor //这是无参构造器简化写法
@AllArgsConstructor //这是有参构造器简化写法
public class Book {
    private Integer id;
    private String type;
    private String name;
    private String description;
}
